/**
 * 
 */
package cn.com.compass.entity;

import java.util.Date;

import javax.persistence.Entity;

import org.hibernate.annotations.Type;

import cn.com.compass.base.em.BaseBizeStatusEnum.YesOrNo;
import cn.com.compass.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * @author wanmk
 * @git https://gitee.com/milkove
 * @email 524623302@qq.com
 * @todo 电影实体
 * @date 2018年8月24日 下午1:22:01
 * 
 */
@Getter
@Setter
@Entity
public class Film extends BaseEntity {

	private static final long serialVersionUID = 4667628584600073802L;
	/**
	 * 电影名
	 */
	private String title;
	/**
	 * 上映时间
	 */
	private Date showTime;
	/**
	 * 是否免费
	 */
	@Type(type="cn.com.compass.base.convter.JpaDbEnumTypeHandler")
	private YesOrNo isFree;
	
	public static final String TITLE = "title";
	public static final String SHOWTIME = "showTime";
	public static final String ISFREE = "isFree";
}
